package com.sixth.statistics.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sixth.core.entity.Comment;
import com.sixth.core.vo.R;
import com.sixth.statistics.vo.CommentVo;

/**
 * @program: six-hospital-system
 * @description:
 * @author: 朱永奇
 * @create: 2024-08-20 11:20
 **/
public interface CommentService extends IService<Comment> {
    /**
     * 评级分页显示
     * @param commentVo
     * @return
     */
    R<IPage<Comment>> selectAll(CommentVo commentVo);
    /**
     * 单行删除评价
     * @param id
     * @return
     */
    R deleteById(Integer id);
    /**
     * 批量删除评价
     * @param id
     * @return
     */
    R deleteList(Integer[] id);
}

